#include <cstdio>

using namespace std;

int main() {
	int a,b;
	scanf("%d%d",&a,&b);
	int c=(a%100+b%100)%100;
	printf("%d",c);
	scanf("%d");
	return 0;
}